<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>base component</title>
</head>

<body>
    <div id="app">
        <div>
            {{count}}
            <button @click="count++">点我+1</button>
        </div>
    </div>
    <script src="../assets/vue2.js"></script>
    <script>
        const app = new Vue({
            el: '#app',
            data() {
                return {
                    count: 0
                }
            },
        })
    </script>
</body>

</html>